package com.example.lenovo.demo;

import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.support.v7.widget.Toolbar;
import android.view.View;

public class SetActivity extends AppCompatActivity {

    private Toolbar set_toolbar;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_set);
        set_toolbar = (Toolbar) findViewById(R.id.set_toolbar);
        set_toolbar.setTitle("设置");
        set_toolbar.setNavigationIcon(R.mipmap.register_left);
        set_toolbar.setNavigationOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View view) {
                finish();
            }
        });
    }

    public void click(View view){
        switch (view.getId()) {
            case R.id.re_clean:
                
                break;
        }
    }

}
